package com.example.attempt.service;

import com.example.attempt.entity.Course;
import com.example.attempt.entity.Student;

import java.util.List;

public interface CourseService {
    public List<Course> queryAll();
    public Course queryById(String cid);
    public List<Course> queryByTeacher(String tid);
    public List<Course> queryByRoom(String croom);
    public int getNum();
    public int addCourse(Course c);
    public void deleteCourse(String cid);
    public int changeTid(String cid, String tid);
    public  List<Student> getStudentsNotInCourse(String cid);
}
